// Test.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"



using namespace catan;
int _tmain(int argc, _TCHAR* argv[])
{
	BoardFactory f;
// 	Handle<Board> b = f.Create4Board();
// 	std::ostringstream oss;
// 	boost::archive::binary_oarchive os(oss);
// 	os & b;
	BoardLogicServer server;
	for (int i = 0; i < 4; ++i)
	{
		BoardLogicClient* client = new BoardLogicClient();
		BoardLogicClient::ServerSender* ss = new BoardLogicClient::ServerSender(client);
		client->SetServer(ss);
		client->RegisterEvents();

		server.AddClient(new BoardLogicServer::ClientSender(ss));
	}
	server.GameStart();

	return 0;
}

